package cn.qidisoft.edu.hzjt.service.xb.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.qidisoft.edu.hzjt.dao.xb.PartyIncorruptAttMapper;
import cn.qidisoft.edu.hzjt.model.xb.PartyIncorruptAttEn;
import cn.qidisoft.edu.hzjt.service.xb.IPartyIncorruptAttService;

@Service
public class PartyIncorruptAttServiceImpl implements IPartyIncorruptAttService {

	@Autowired
	private PartyIncorruptAttMapper mapper;

	@Override
	public void batchInserts(List<PartyIncorruptAttEn> records) {
		mapper.batchInserts(records);
	}

	@Override
	public int delete(PartyIncorruptAttEn entity) {
		mapper.delete(entity);
		return 0;
	}

	@Override
	public List<PartyIncorruptAttEn> queryList(PartyIncorruptAttEn entity) {
		return mapper.queryList(entity);
	}

	@Override
	public PartyIncorruptAttEn queryInfoByPK(PartyIncorruptAttEn entity) {
		return mapper.queryInfoByPK(entity);
	}

	@Override
	public PartyIncorruptAttEn queryByFileId(PartyIncorruptAttEn entity) {
		return mapper.queryByFileId(entity);
	}

}
